export function getApplicationList({ name }) {
  let url = window.RPConfig.task + `app/rest/process-definitions?latest=true`
  if (name) {
    url += `&nameLike=${name}`
  }

  return $http.get(url)
}
